﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;

namespace Table_pet.background.Classes
{
    public class ClockModel
    {
        public ClockModel(DateTime settingTime, int remindNumber, string ring, string remindType, int intervalTime)
        {
            Id = id;
            id++;
            SettingTime = settingTime;
            RemindNumber = remindNumber;
            Ring = ring;
            RemindType = remindType;
            IntervalTime = intervalTime;
        }
        public static long id;
        public long Id { get; set; }
        /// <summary>
        /// 闹钟设置时间
        /// </summary>
        public DateTime SettingTime { get; set; }

        /// <summary>
        /// 从当天开始的提醒次数 
        /// </summary>
        public int RemindNumber { get; set; }

        /// <summary>
        /// 铃声
        /// </summary>
        public string Ring { get; set; }

        /// <summary>
        /// 提醒类型
        /// </summary>
        public string RemindType { get; set; }

        /// <summary>
        /// 再响间隔
        /// </summary>
        public int IntervalTime { get; set; }

    }
}
